using SheLife.Domain.Entities;

namespace SheLife.Domain.Interfaces.Repositories
{
    /// <summary>
    /// 成长习惯仓储接口
    /// </summary>
    public interface IGrowthHabitRepository : IRepository<GrowthHabit>
    {
        Task<IEnumerable<GrowthHabit>> GetByUserIdAsync(Guid userId);
        Task<IEnumerable<GrowthHabit>> GetByCategoryAsync(string category);
        Task<IEnumerable<GrowthHabit>> GetActiveHabitsAsync(Guid userId);
        Task<IEnumerable<GrowthHabit>> GetByGoalIdAsync(Guid goalId);
    }
}